package com.tarim.streetdance.service;

import com.tarim.streetdance.model.VideoViews;
import com.tarim.streetdance.vo.PageBean;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

public interface VideoViewsService {
    //新增观看记录
    int insertSelective(VideoViews record);

    //删除观看记录
    int updateForDelete(VideoViews record);

    //查询用户观看记录
    PageBean<VideoViews> selectByUserId(PageBean<VideoViews> pageBean, VideoViews record);

    //查询视频观看数量
    Long selectCountByVideoId(VideoViews record);
}